package com.ydy.data.mapper;

import com.ydy.common.model.Permissions;
import com.ydy.common.vo.PageInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PermissionInfoMapper {

    List<Permissions> queryPermissionInfo(@Param("model") Permissions permissions,
                                          @Param("page") PageInfo pageInfo);

    void insertPermissionInfo(Permissions permissions);

    void updatePermissionInfo(Permissions permissions);

    void deletePermissionInfo(@Param("permissionCode") String permissionCode);
}
